<template>
  <el-menu
    default-active="1"
    class="el-menu-vertical-demo"
    background-color="white"
    text-color="black"
    active-text-color="#ffd04b"
    :collapse="collapse"
    router
  >
    <navbar-item :menus="menus"></navbar-item>
  </el-menu>
</template>

<script>
import NavbarItem from './NavbarItem.vue'
export default {
  components: {
    NavbarItem,
  },
  props: {
    menus: {
      type: Array,
      require: true,
    },
    collapse: {
      type: Boolean,
    },
  },
}
</script>

<style scoped>
.el-menu-vertical-demo {
  border-right: none;
}
</style>
